<?php
	// No direct access
	defined('_JEXEC') or die;
    jimport( 'joomla.application.component.view');
    class VolunteerViewVolunteerdetail extends JView
    {
		function display($tpl = null)
		{
			$model = $this->getModel('volunteer');
			
			$session =& JFactory::getSession();
			
			$this->assignRef( 'results', $model->getFilesByUser(JRequest::getVar('volunteer')) );			
			$this->assign( 'pagination', $model->getPagination());			
			
			parent::display($tpl); //display defaul template
		}
    }